#ifndef _EveryDayLayer_H_
#define _EveryDayLayer_H_
#include "cocos2d.h"
#include "cocos/ui/CocosGUI.h"
#include "extensions/cocos-ext.h"
#include "ui/UIRichText.h"
#include "tinyxml2/tinyxml2.h"

USING_NS_CC;
using namespace ui;
USING_NS_CC_EXT;


class EveryDayLayer :  public Layer
{
private:
	Widget*	      m_widgetUI;
	Button*		  m_close;
	Button*		  m_comfirm;

public:
	static bool		m_isPay;
	EveryDayLayer(void);
	~EveryDayLayer(void);

	virtual bool init(float fScale);
	static EveryDayLayer *create(float fScale);
	void SetBtnCallBack(cocos2d::Ref* sender,cocos2d::ui::TouchEventType type);
	void OnBtnCallBack(cocos2d::Ref* sender,cocos2d::ui::TouchEventType type);
	void btnCallback(cocos2d::Ref* pSender);
};

#endif // !_EveryDayLayer_H_
